/* 
*	当前样式文件为：框架组件css
*	作者：yangzhichao
*	日期：2024-11-08
*/
/* 框架右侧部分区域 */
.app-main {
	height: calc(100vh - 98px);
	margin-left: 198px;
	transition: margin-left 0.2s;
	background: #fff;
	padding-right: 10px;
}
.zoom{
	background: url("") no-repeat;
}
/* layout最外层 */
.app-wapper {
	width: 100%;
	padding-top: 97px;
	height: calc(100vh - 97px);
	overflow-x: auto;
	/* 顶部布局 */
	.h-header {
	  height: 50px;
	  background: url("") repeat-x;
	  color: #fff;
	  line-height: 50px;
	  padding: 0 10px  0 10px;
	  display: flex;
	  justify-content: space-between;
	  position: fixed;
	  z-index: 999;
	  left: 0;
	  top: 0;
	  right: 0;
	  font-size: 14px;
	  transition: .09s ease-out;
	  font-family: Arial,\5FAE\8F6F\96C5\9ED1,Microsoft YaHei,SimSun;
	  &.zerro {
		height: 0px;overflow: hidden;
	  }
	  /* 在线帮助样式以及logo */
	  .logo{
		font-size: 20px;
		display: flex;
		align-items: center;
		background: url("") no-repeat;
		background-position: 0 2px;
		padding-left: 190px;
		.fileImg {
		  height: 45px;
		  width: 142px;
		}
		.help{
			font-size: 20px;
			display: flex;
			align-items: center;
			float: left;
			font-family: Arial,"\5FAE\8F6F\96C5\9ED1",Microsoft YaHei,SimSun;
		  }
	  }
	  /* 顶部右侧，欢迎等样式 */
	  .h-headerRight {
		font-size: 14px;
		em {
		  font-style: normal;
		  padding: 0 8px;
		}
		.exitSpan {
		  cursor: pointer;
		}
	  }
	}

	// 新样式菜单
	.mainhelp{
		display: flex;
		position: fixed;
		left: 0px;
		top: 50px;
		line-height: 38px;
		padding-left: 15px;
		height: 38px;
		background: #eff4fa;
		width: 100%;
		z-index: 999;
		.hasChild {
			padding-left: 5px;
		}
		.onlyChildItem {
		    padding-left: 30px;
		    color: #666;
		    font-size: 14px;
		    line-height: 28px;
		    &.selected {
			background: #eee
		    }
		}
		.nav-item.selected,.nav-item.selected:hover {
			color: #3075ba;
			text-decoration: none;
			background-color: #d6e3f1;
			border-bottom-color: #3075ba;
		}
		.nav-item {
			display: inline-block;
			display: flex;
			justify-content: center;
			align-items: center;
			cursor: pointer;
			margin-right: 5px;
			padding-right: 15px;
			height: 36px;
			line-height: 36px;
			color: #666;
			font-size: 16px;
			background-repeat: no-repeat;
			border-bottom: 2px solid #eff4fa;
			box-sizing: content-box;
			transition: background-color .4s;
			position: relative;
			.navsecond {
				position: absolute;
				left: 0;
				top: 38px;

				max-height: calc(50vh);
				width: 200px;
				border: 2px solid #7fa5c9;
				padding: 5px 0;
				background: #fff;
				transform: scaleY(0);
				transform-origin: top;
				overflow-x: hidden;
				overflow-y: auto;
				visibility: hidden;
				transition: transform 0.16s ease-in-out;
				&.expendNavsecond {
					visibility: visible;
					transform: scaleY(1);
				}
				.ico{
					background-image: url();
					background-position: left 0px;
					background-repeat: no-repeat;
					padding-left: 30px;
					font-size: 15px;
					color: #8a8987;
					font-weight: 700;
					line-height: 28px;
				}
				ul,li{
					padding: 0;
					margin: 0;
					list-style: none;
				}
				ul{
					li{
						ul{
							padding-left: 20px;
							li{
								padding-left: 10px;
								color: #666;
								font-size: 14px;
								line-height: 28px;
							}
						}
					}
				}
			}
		}
		.nav-item:hover {
			background-color: #d6e3f1;
			border-bottom-color: #3075ba;
			color: #3075ba;
		}
		.nav-item a:not(.onlyChildLink) {
			display: block;
			width: 40px;
			height: 36px;
			line-height: 36px;
			color: #666;
			font-size: 16px;
			background: url("") no-repeat;
		}
		.nav-item a.onlyChildLink {
			color: #666;
			display: block;
			font-size: 14px;
		}
		.nav-item a.item-tool, .nav-item.selected a.item-tool, .nav-item:hover a.item-tool {
			
		}
		.nav-item a.item-tool, .nav-item a.navText2 {
			background-position: left -226px;
		}
		.nav-item a.item-workbench, .nav-item a.navText1 {
			background-position: left -28px;
		}
		.nav-item a.item-help, .nav-item a.navText3 {
			background-position: left -292px;
		}
		.nav-item.selected a.item-workbench,.nav-item:hover a.item-workbench, .nav-item:hover a.navText1, .nav-item.selected a.navText1 {
			background-position: left -61px;
		}
		.nav-item.selected a.item-workbench,.nav-item:hover a.item-workbench, , .nav-item:hover a.navText1{
			background-position: left -61px;
		}
		.nav-item.selected a.item-tool,.nav-item:hover a.item-tool, .nav-item:hover a.navText2, .nav-item.selected a.navText2 {
			background-position: left -259px;
		}
		.nav-item.selected a.item-help, .nav-item:hover a.item-help, .nav-item:hover a.navText3, .nav-item.selected a.navText3 {
			background-position: left -325px;
		}
	}

	/* 菜单最外层 */
	.tabMenu {
	  position: fixed;
	  top: 50px;
	  left: 0;
	  z-index: 100;
	  width: 100%;
	  background: #eff4fa!important;
	  height: 38px;
	  padding-left: 15px;
	}
	/* 选项卡ico */
	.icofile{
	  height: 20px;
	}
}
/* 顶部切换操作台样式 */
.ant-menu{
	color: #666 !important;
	font-weight: bold;
	background: transparent!important;
	font-size: 16px;
	overflow: hidden!important;
}

/* 操作台选项卡切换，鼠标移动上面颜色背景切换 */
.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected{
	background: #d6e3f1 !important;
	>span{
		color: #3075ba;
	}
}
/* 选中效果背景清除 */
.ant-menu .ant-menu-item-selected{
	background: none !important;
}
/* 选中后效果文字变化 */
.ant-menu-dark .ant-menu-item-selected{
	color: #666;
}
/* 调整默认背景颜色 */
.ant-menu.ant-menu-dark, .ant-menu-dark .ant-menu-sub, .ant-menu.ant-menu-dark .ant-menu-sub{
	background: #fff;
}
/* 左侧菜单最小宽度 */
.ant-layout-box {
	min-width: 170px;
	position: fixed;
	left: 0;
	z-index: 100;
	top: 98px;
	height: calc(100vh - 98px);
	overflow-y: auto;
	visibility: visible;
	overflow: hidden;
	transform: scaleX(1);
}
.ant-layout-box.fullScreen {
	overflow: hidden;
	visibility: hidden;
	opacity: 0;
	top: 98px!important;
	transition: transform 0.06s ease-in-out;
}
/* 清除样式边框样式 */
.ant-menu-inline, .ant-menu-vertical, .ant-menu-vertical-left{
	border: 0 !important;
}
.ant-menu-item{
	padding-left: 20px !important;
}

/* 清除左侧框架原始样式，兼容调整 */
.ant-layout-sider{
	background: transparent!important;
	width: auto !important;
	max-width: none !important;
	margin-left: 5px;
	overflow-x: hidden;
	//多级菜单控制
	.ant-menu-submenu-title + ul.ant-menu {
		padding-left: 0px!important;
	}
	.ant-menu-submenu > .ant-menu-submenu-title > .ant-menu-title-content {
		> .navli{
			display: flex;
			align-items: center;
			padding-left: 25px;
			background-image: url("");
			background-repeat: no-repeat;
			background-color: transparent;
			background-position: left -528px;
			.plus{
				width: 18px;
				height: 18px;
				flex-shrink: 0;
				margin-right: 7px;
				vertical-align: text-top;
				background-image: url("");
				background-repeat: no-repeat;
				background-color: transparent;
				background-position: left -534px;
			}
			.minus{
				width: 18px;
				height: 18px;
				margin-right: 7px;
				vertical-align: text-top;
				flex-shrink: 0;
				background-image: url("");
				background-repeat: no-repeat;
				background-color: transparent;
				background-position: left -506px;
			}
		}
	}
	.ant-menu-submenu.ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-title-content {
		> .navli{ 
			background-image: url("");
			background-repeat: no-repeat;
			background-color: transparent;
			background-position: left -500px;
		}
	}
	
	.tiprightIco{
		width: 12px;
		height: 18px;
		flex-shrink: 0;
		margin-right: 7px;
		vertical-align: text-top;
		background-image: url("");
		background-repeat: no-repeat;
		background-color: transparent;
		display: inline-block;vertical-align: middle;
		background-position: -20px -567px;
	}
	.onlyChildSpan {
		font-size: 14px;
		color: #666 !important;
		font-weight: normal;
	}
}
/* 修改默认颜色 */
.ant-menu-item a::before{
	background: #eee;
}
.ant-menu-inline .ant-menu-selected::after, .ant-menu-inline .ant-menu-item-selected::after{
	display: none;
}
/* 选中后的背景颜色 */
.ant-menu-item-selected{
	background: #fff !important;
}
/* 左侧菜单样式修改 */
.app-sidebar {
	.logo {
	  height: 32px;
	  background: rgba(255, 255, 255, 0.3);
	  margin: 16px;
	}
}
/* 控制左侧菜单的杭高，间距雷同老 */
.hhg-Sider > .ant-layout-sider-children {
	max-height: calc(100vh - 97px);
	overflow-y: auto;
}
.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu{
	margin-right: 5px;
	height: 38px;
	line-height: 38px;
	font-size: 16px;
	font-weight: 300;
}
/* 修改左侧菜单默认颜色 */
.ant-menu-light .ant-menu-submenu-title{
	color: #666 !important;
	font-weight: normal;
}
/* 修改左侧菜选中去认颜色 */
.ant-menu-submenu-active{
	color: #666 !important;
}
/* 修改左侧菜鼠标移动上去认颜色 */
.ant-menu-submenu-active:hover{
	// background-color: #eee;
	color: #666 !important;
}
/* 清除无用的样式 */
.custom-menu .ant-menu-submenu-arrow::before, .custom-menu .ant-menu-submenu-arrow::after {
	display: none;
}
/* 清空默认样式 */
.ant-menu-horizontal > .ant-menu-item::after, .ant-menu-horizontal > .ant-menu-submenu::after{
	left: 0 !important;
	right: 0 !important;
}
/* 清空默认样式 */
.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-active, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-open, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-open, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected{
	color: #666 !important;
}
/* 切换tab的文本地步边框区域 */
.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-active::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-open::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-open::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected::after{
	border-bottom: 2px solid  #3075ba !important;
}
/* 选中项的背景色 */
.custom-menu .ant-menu-item-selected {
	background: transparent!important; 
	> span > a {
	  color: rgba(0, 0, 0, 0.85);
	}
}
.custom-menu .ant-menu-item-selected-new {
	background: #eee!important;border-radius: 0!important;
	> span > a {
	  color: rgba(0, 0, 0, 0.85);
	}
}
.ant-menu-inline.ant-menu-root .ant-menu-submenu-title{
	margin: 0;
}
/* 选中项的字体大小 */
.ant-menu-inline.ant-menu-root .ant-menu-item > .ant-menu-title-content, .ant-menu-inline.ant-menu-root .ant-menu-submenu-title > .ant-menu-title-content{
	font-size: 15px;
}
/* 修改超链接现在的样式 */
.ant-menu-item a{
	font-size: 14px;
	color: #666 !important;
	font-weight: normal;
}
.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title, .ant-menu-item-selected, .ant-menu-item {
	border-radius: 0!important;
}
/* 修改菜单默认的高度 */
.ant-menu-item{
	width: 100%!important;
}
.ant-menu-sub.ant-menu-inline > .ant-menu-item{
	height: 28px !important;
	margin: 0 !important;
	line-height: 28px !important;
	padding-left: 22px !important;
}
.ant-menu-sub.ant-menu-inline > .ant-menu-item:hover{
	background: #eee;
}
/* 修改左侧菜单字体默认杭高等 */
.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title{
	height: 30px !important;
	line-height: 30px !important;
	padding-left: 0px !important;
}
/* 修改鼠标移动上去字体变化颜色 */
.ant-menu-submenu-selected .ant-menu-submenu-title:hover{
	color: #666 !important;
}
/* 操作台右边全屏 */
.fullScreen {
	z-index: 102;
	position: fixed;
	cursor: pointer;
	top: 50px;
	right: 0;
	width: 38px;
	height: 38px;
	background: url("") no-repeat;
	background-position: left -358px;
	z-index: 1000;
}
/** 关闭全屏 **/ 
.closeScreen{
	z-index: 102;
	position: fixed;
	cursor: pointer;
	top: 0px;
	right: 0;
	width: 38px;
	height: 38px;
	background: url("") no-repeat;
	background-position: left -430px;
	z-index: 1000;
}
.head-main{
	position: relative;
}
/* 全屏后的样式，控制高度 */
.app-wapper.full {
	padding-top: 48px !important;
	height: calc(100vh - 57px);
	/* 全屏后tab切换颜色 */
	.ant-menu{
		background: none;
	}
	/* 全屏后背景颜色 */
	.h-header{
		background: #eee;
		height: 38px;
		transition: .3s ease;
		line-height: 38px;
	}
	/* 切换后右顶部字体颜色 */
	.h-headerRight{
		color: #666;padding-right: 56px;font-size: 14px;
		em{
			padding: 0 8px;
		}
	}
	.mainhelp{
		display: flex;
		justify-content: space-between;
		animation-name: moveUp;
		padding-right: 48px;
		animation-duration: 0.2s; /* 动画持续时间为0.5秒 */
		animation-timing-function: ease-out; /* 使用ease-out速度曲线 */
		animation-fill-mode: forwards; /* 动画结束后保持最后一帧的状态 */
		.mainhelpLeft {
			display: flex;flex-wrap: nowrap;
			> ul.ant-menu {
				display: flex;flex-wrap: nowrap;
			}
		}
	}
	.fullScreen{
		top: 0;
	}
	.h-headerRight{
		line-height: 38px;font-size: 14px;
	}
}
/* 全屏后的样式，控制左间距 */
.app-main.full {
	margin-left: 10px;
}
/* 向左侧拖拽定位 */
.vsplitbar.fullScreen {
	left: -50px;
	top: 50%;
	transform: translateY(-50%);
}
.vsplitbar{
	position: fixed;
	z-index: 130;
	top: 50%;
	transform: translateY(-50%);
	left: 180px;
	user-select: none; /* 标准语法 */
	-moz-user-select: none; /* Firefox */
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE10+/Edge */
	cursor: e-resize;
	height: 100%;
	width: 9px;
	overflow: hidden;
	border-left: 1px solid #ccc;
	background: #fff;
	display: flex;
	align-items: center;
	.vsplitbar-btn{
		min-width: 16px;
		height: 55px;
		background: #ccc;
		border-radius: 8px;
		position: relative;
		left: -8px;
		display: inline-flex;
		align-items: center;
		justify-content: flex-end;
		.line {
			width: 1px;
			background: #646464;
			height: 35px;
			margin-right: 2px;
		}
	}
	&.startMove {
		transition: .1s ease-in-out;
	}
}
.dragIcons {
	position: fixed;
	z-index: 130;
	top: 50%;
	transform: translateY(-50%);
	left: 180px;
	width: 20px;
	cursor: e-resize;
}

/* 原始框架中未使用->可能会影响其他部分，不用管 */
.jc-dropdown-menu {
	.ant-dropdown-menu {
		li.ant-dropdown-menu-item {
			min-width: 140px;
		}
	}
}
/* 弹出层样式 */
.jc-msg-popover {
	max-width: 300px;
	min-width: 250px;
}
/* 框架老板本兼容用户信息布局 */
.header-main {
	background: #fff;
	padding: 0 15px;
	height: 48px;
	line-height: 48px;
	display: flex;
	position: fixed;
	z-index: 100;
	right: 0;
	top: 87px;
	transition: left 0.2s;
	box-shadow: 0 1px 4px #eee;
	/* 用户信息 */
	.user-info {
		cursor: pointer;
		.user-avatar {
			margin-right: 8px;
		}
		.user-name {
			vertical-align: middle;
		}
	}
	/* 用户信息头像显示 */
	.header-right {
		margin-left: auto;
		display: flex;
		.header-right-info {
			margin-right: 20px;
			height: 48px;
			line-height: 48px;
			.jc-header-badge {
				height: 48px;
				line-height: 48px;
				:deep(.ant-badge-dot) {
					top: 14px;
				}
			}
			.info-icon {
				font-size: 16px;
				vertical-align: middle;
				padding: 0 4px;
				cursor: pointer;
			}
		}
	}
	/* 面包屑 */
	.breadcrumb-container {
		line-height: 48px;
		margin-left: 20px;
	}
}
/* 原始框架中未使用end */
.ant-menu-inline .ant-menu-item{
	line-height: 26px;
	height: 26px;
	margin: 0;
}
// 全屏模式下水平菜单样式
.ant-menu-submenu-popup.ant-menu {
	width: 200px!important;
	border: 2px solid #7fa5c9!important;
	padding: 5px 30px!important;
	background: #fff!important;
	ul.ant-menu-sub.ant-menu-vertical {
		box-shadow: none!important;overflow-x: visible!important;
	}
	.ant-menu-submenu.horizontalMenuItemSubMenu {
		> .ant-menu-submenu-title{
			padding-left: 0!important;font-size: 15px;color: #8a8987!important;font-weight: 700;
		}
	}
	.ant-menu-item.horizontalMenuItem {
		color: #666!important;
		font-size: 14px!important;
		height: 28px!important;
		line-height: 28px!important;
		text-indent: 0px!important;
	}
}
.headerMenuA {
	width: 40px;
	height: 36px;
	display: inline-block;
	line-height: 36px;
	color: #666;
	vertical-align: middle;
	font-size: 16px;
	background: url("") no-repeat;
}
.headerMenuA.menuItem2 {
	background-position: left -226px;
}
.headerMenuA.menuItem1 {
	background-position: left -28px;
}
.headerMenuA.menuItem3 {
	background-position: left -292px;
}
.nav-item:hover, .nav-item.selected {
	.ant-menu-submenu-title {
		background: #d6e3f1!important;
	}
	.headerMenuA.menuItem1 {
		background-position: left -61px;
	}
	.headerMenuA.menuItem2 {
		background-position: left -259px;
	}
	.headerMenuA.menuItem3 {
		background-position: left -325px;
	}
	.ant-menu-title-content {
		color: #3075ba;
	}
}


// 全屏动画
@keyframes moveUp {
	from { top: 38px; } /* 开始时的top位置 */
	to { top: 0px; }   /* 结束时的top位置 */
}


.fade-enter-active {
animation: fade-in 0.3s;
}

.fade-leave-active {
	animation: fade-out 0.3s reverse;
}

@keyframes fade-in {
0% {
	opacity: 0;
	transform: translateY(-20px);
}
100% {
	opacity: 1;
	transform: translateY(0);
}
}

@keyframes fade-out {
0% {
	opacity: 1;
	transform: translateY(0);
}
100% {
	opacity: 0;
	transform: translateY(20px);
}
}
//路由切换添加过度效果
.v-enter-active,
.v-leave-active {
  transition: opacity 0.23s ease;
}

.v-enter-from,
.v-leave-to {
  opacity: 0;
}